package dead.queue.at.demo.controller;

import dead.queue.at.demo.service.IMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping("at")
public class TestMessageController {

    @Resource
    private IMessage message;

    @RequestMapping("test1")
    public String testFlowable() {
        return message.test1();
    }
}
